﻿/*
 * @author: wizardc
 */

using UnityEngine;

namespace Dou.BoundingVolumeHierarchy
{
    /// <summary>
    /// 可以构建 BVH 树的对象接口
    /// </summary>
    public interface IBVHClient
    {
        /// <summary>
        /// 获取当前位置
        /// </summary>
        Vector3 GetPosition();
        
        /// <summary>
        /// 获取上一次的位置
        /// </summary>
        Vector3 GetPreviousPosition();
        
        /// <summary>
        /// 获取包围盒
        /// </summary>
        Bounds GetBounds();
    }
}
